/*                         Ralph Chess

		   test.cpp is a part of rchess

		 rchess is a very simple chess engine 

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with rchess.  If not, see <http://www.gnu.org/licenses/>.

                   Copyright 2013 Ralph Glass                                              


         test.cpp - testing playground
*/

#include <iostream>
#include <fstream>
#include <sstream>
#include <algorithm>
#include "move.h"
#include "debug.h"


std::ofstream debug_file;

void show_move(struct move m){
       	std::cout << m.x << " " << m.y << std::endl;}

void show_piece(struct piece piece) {
	std::cout << piece.type << " " << piece.x << " " << piece.y <<std::endl; }

void show_piece_list(std::vector<piece> v){ 
	for (auto e : v) { show_piece(e); } }

void show_moves(std::vector<move> m){ 
	for (move e : m) { show_move(e); }  }

void test_moves() {
	init_chessboard();
	update_piece_list();
	test_evaluate();
       }
 
int main() {
	test_moves();
	return 0;}
